package com.qf.enums;


import lombok.Getter;

@Getter
public enum CustomerEnum {

    PARAM_ERROR(1,"参数不合法"),
    Bargain_ADD_ERROR(2,"合同添加失败"),
    Bargain_UPDATE_ERROR(3,"合同修改失败"),

    CONNECTOR_ADD_ERROR(4,"联系人添加失败"),
    CONNECTOR_UPDATE_ERROR(5,"联系人修改失败"),

    UPLOAD_FILE_ERROR(11,"图片上传项为null"),
    UPLOAD_SIZE_ERROR(12,"图片上传项过大"),
    UPLOAD_TYPE_ERROR(13,"图片格式有误"),
    UPLOAD_BROKEN_ERROR(14,"图片已损坏")
    ;



    private Integer code;
    private String msg;

    CustomerEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
